/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.Collection;

public interface DAO <T> {
    public void add(T o);
    public void update(T o);
    public T getById(int id);
    public Collection getAll();
    public void delete(T o);
}
